package com.swotxu.mall.product.feign;

import com.swotxu.common.to.es.SkuESModel;
import com.swotxu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Date: 2021/1/16 22:15
 * @Author: swotXu
 */
@FeignClient("mall-search")
public interface SearchFeginService {
    /**
     * 商品上架功能
     * @param skuESModelList
     * @return
     */
    @PostMapping("/search/product/up")
    R productStatusUp(@RequestBody List<SkuESModel> skuESModelList);
}
